2013-05-20 - 7084 - Spec - Fix for Packed Deliveries being Re-Packed #Shipping #ABAPSUPPORT #abappacking
SPECIFICATIONS
7084 - Fix for Packed Deliveries being Re-Packed
Purpose
Fix
for Packed Deliveries being Re-Packed for both US and China packing programs.
Admin Info
Purpose
|
Fix forPacked Deliveries being Re-Packed for both US and China packing programs.
|
Requested By
|
Thi Tran
|
Spec Created By
|
Venu Dontamsetti
|
Spec Created Date
|
05/20/2013
|
Spec QA by
|
Deepak Yasam
|
Objects
|
ZRSD_PACKING
ZRSD_PACKING_CHINA
|
Document Status
|
Completed
|
References
Prior Tickets
None
Documents
None
Functional Requirement
Fix
for Packed Deliveries being Re-Packed for Packing Programs.As all the deliveries are already packed and due to the exsisting logic the program was unable to sort the deliveries that are alredy packed and the IDOCs were generating for already packed ones.
So the logic needs to be changed to sort the deliveries that are alreday packed and avoid the IDOC generation for them.
Solution Summary
Fix
for Packed Deliveries being Re-Packed for US & China Packing Programs.
Test Plan
S.No
|
Test Scenario
|
Expected Result
|
1
|
Run ZRSD_PACkING with 0116 plant in batch job.
|
As all the deliveries are packed already the output shouldnt show any IDOC generation for them
|
2
|
Run ZRSD_PACkING_CHINA with 9010 plant in batch job.
|
As all the deliveries are packed already the output shouldnt show any IDOC generation for them
|
Solution Details
1) Get the data of 'SD Document: Delivery Header Data' (LIKP) based on the Shipping Point/Receiving Point only. (For Performance Reasons in the Background Processing)
2) Seperate/Filter the 'SD Document: Delivery Header Data' based on the 'Delivery Type' Not Equal to 'LF' or 'Actual Goods Movement Date' Equal to '
00000000'.
3) Get the data of 'Sales Document: Header Status and Administrative Data' (VBUK) based on the 'Sales and Distribution Document Number'.
4) Seperate/Filter the
'Sales Document: Header Status and Administrative Data' based on the 'Overall packing status of all items' Equal to 'C'.
5) Pass the above data to the Packing FM.
Issues
None